/* 引入common.css */
@import url(common.css);
/*或 @import "common"; */
body {
  min-width: 320px;
  width: 15rem;
  margin: 0 auto;
  line-height: 1.5;
  font-family: Arial, Helvetica, STHeiTi, sans-serif;
  background: #f2f2f2;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  height: 1000px;
}
/* html字体大小50 ，height= 页面元素大小88 / 50 */
.search-content {
  display: flex;
  align-items: center;
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 15rem;
  height: 1.76rem;
  background: url(../images/bg.png) no-repeat;
}
.search-content .classify,
.search-content .login {
  width: 0.72rem;
  height: 1.2rem;
  padding: 0.22rem 0.5rem 0.14rem 0.48rem;
}
.search-content .classify img,
.search-content .login img {
  width: 100%;
}
.search-content .login {
  background: url(../images/login.png) no-repeat center;
  background-size: 0.72rem 1.2rem;
}
.search-content .search {
  position: relative;
  flex: 1;
}
.search-content .search form {
  height: 1.76rem;
}
.search-content .search form input {
  width: 100%;
  height: 1.28rem;
  border-radius: 0.64rem;
  padding-left: 1.4rem;
  padding-right: 0.46rem;
  color: #757575;
  font-size: 0.52rem;
}
.search-content .search form input::placeholder {
  color: #757575;
}
.search-content .search .search-icon {
  position: absolute;
  top: 0.54rem;
  left: 0.4rem;
  width: 0.72rem;
  height: 0.72rem;
  background: url(../images/search.png);
  background-size: 0.72rem;
}
.banner a img {
  width: 100%;
  vertical-align: middle;
}
.ad {
  display: flex;
}
.ad a {
  flex: 1;
}
.ad a img {
  width: 100%;
  vertical-align: middle;
}
.nav {
  display: flex;
  flex-wrap: wrap;
}
.nav .nav-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 20%;
  margin-top: 0.48rem;
}
.nav .nav-items img {
  width: 1.68rem;
  height: 1.68rem;
}
.nav .nav-items span {
  margin-top: 0.1rem;
  color: #666;
  font-size: 0.44rem;
}
.nav2 {
  margin-top: 0.6rem;
  width: 15rem;
}
.nav2 .nav-items {
  float: left;
  text-align: center;
  width: 3rem;
  height: 2.8rem;
}
.nav2 .nav-items img {
  display: block;
  width: 1.68rem;
  height: 1.68rem;
  margin: 0.2rem auto 0;
}
.nav2 .nav-items span {
  display: block;
  margin-top: 0.1rem;
  color: #666;
  font-size: 0.44rem;
  height: 0.56rem;
  line-height: 0.56rem;
}
